<{include file="web/header.html"}>
  
<!--主要内容区-->
 <div class="container">
   <div class="alert with-icon alert-info">
    <i class="icon-info-sign"></i>
    <div class="content"><strong>Hi!</strong> 以下内容均为AI虚构的历史事件，仅供娱乐，不要对号入座，真实的历史事件请查阅相关的历史文献获取。</div>
  </div>
   <div class="row">
     <!--左侧内容-->
     <div class="col-xs-12">
        <div class="list">
            <header>
              <h3><i class="icon-list-ul"></i> 最新虚拟历史 </h3>
            </header>
            <div class="items items-hover">
                <{foreach from=$result item=wx}>
                <div class="item">
                    <div class="item-heading">
                        <div class="pull-right">
                            <!--<span class="text-muted">2013-11-11 16:14:37</span> &nbsp; 
                            <a href="#" class="text-muted"><i class="icon-comments"></i> 243</a>-->
                        </div>
                        <h4><a target="_blank" href="//historygen.com/index.php/main/details/id/<{$wx.sim_event_id}>">如果：【<{$wx.assumption}>】 事件出现了这种假设，那么历史会如何发展呢？</a></h4>
                    </div>
                    <div class="item-content">
                        <{if $wx.imgslist != ''}>
                        <div class="cards">
                            <{foreach from=$wx.imgslist item=wx_img}>
                            <div class="col-md-2 col-sm-6 col-lg-2">
                                <div class="card"><img src="<{$wx_img}>" alt=""></div>
                            </div>
                            <{/foreach}>
                        </div>
                        <{/if}>
                        <div class="text"><{$wx.simulate_desc}></div>
                    </div>
                </div>
                <{/foreach}>
            </div>
            <footer>
                <{if $pager}>
                <ul class="pager">
                    <{if $pager.current_page != $pager.firf_page}>
                    <li class="previous"><a href="<{spUrl c=main a=alter_historyList f=$f v=$v page=$pager.prev_page}>">上一页</a></li>
                    <{/if}>
                    <{foreach from=$pager.all_pages item=thepage}>
                            <{if $thepage lte $pager.current_page+5 &&  $thepage gte $pager.current_page-5}>
                                <{if $thepage != $pager.current_page}>
                                    <li><a href="<{spUrl c=main a=alter_historyList f=$f v=$v page=$thepage}>"><{$thepage}></a></li>                     
                                <{else}>
                                    <li class="active"><a href="#"><{$thepage}></a></li> 
                                <{/if}>
                            <{/if}>
                    <{/foreach}>
                    <{if $pager.current_page != $pager.laf_page}>
                    <li class="next"><a href="<{spUrl c=main a=alter_historyList f=$f v=$v page=$pager.next_page}>">下一页</a></li>
                    <{/if}>
                </ul>
                <{/if}>
            </footer>
          </div>
     </div>
  </div>
<{include file="web/footer.html"}>